// +---------------------------------------------------------------------
// | CRMEB [ CRMEB赋能开发者，助力企业发展 ]
// +---------------------------------------------------------------------
// | Copyright (c) 2016~2022 https://www.crmeb.com All rights reserved.
// +---------------------------------------------------------------------
// | Licensed CRMEB并不是自由软件，未经许可不能去掉CRMEB相关版权
// +---------------------------------------------------------------------
// | Author: CRMEB Team <admin@crmeb.com>
// +---------------------------------------------------------------------

import BasicLayout from '@/components/main';

const pre = 'category_';

export default {
  path: '/admin/category',
  name: 'category',
  header: 'category',
  redirect: {
    name: `${pre}category`,
  },
  component: BasicLayout,
  children: [
	{
	  path: 'insect',
	  name: `${pre}insect`,
	  meta: {
	    auth: ['admin-category-insect'],
	    title: '驱虫分类',
	  },
	  component: () => import('@/pages/category/insect/index'),
	},
	{
	  path: 'vaccinum',
	  name: `${pre}vaccinum`,
	  meta: {
	    auth: ['admin-category-vaccinum'],
	    title: '疫苗分类',
	  },
	  component: () => import('@/pages/category/vaccinum/index'),
	},
	{
	  path: 'sand',
	  name: `${pre}sand`,
	  meta: {
	    auth: ['admin-category-sand'],
	    title: '铲砂分类',
	  },
	  component: () => import('@/pages/category/sand/index'),
	},
	{
	  path: 'grouptype',
	  name: `${pre}grouptype`,
	  meta: {
	    auth: ['admin-category-grouptype'],
	    title: '圈子分类',
	  },
	  component: () => import('@/pages/category/grouptype/index'),
	},
	{
	  path: 'pettype',
	  name: `${pre}pettype`,
	  meta: {
	    auth: ['admin-category-pettype'],
	    title: '宠物分类',
	  },
	  component: () => import('@/pages/category/pettype/index'),
	}
  ],
};
